<%@page pageEncoding="utf-8" contentType="text/html; charset=utf-8" %>
<%@ include file="/home/include/init_home.jsp" %>
<%

	HashMap param = new HashMap();


	HomeDAO dao = new HomeDAO();

	HashList list = dao.selectCarList(param);



	param.put("page_id", "13");


	HashMap pageInfo = new HashMap();
	HashList pageList = dao.selectPageList(param);
	if (pageList.size() == 1) {
		pageInfo = (HashMap)pageList.get(0);
	}


%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><%= HOME_NAME %></title>
<style type="text/css">
</style>
<link href="../css/home.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
  <%@ include file="/home/include/top_menu.jsp" %>
  <tr>
    <td valign="top" align="center" class="sub_con"><table width="1000" border="0" align="center" cellpadding="0" cellspacing="0">
      <tr>
      <!--좌측네비 시작-->
        <%@ include file="/home/include/left_menu.jsp" %>
        <!--좌측네비 끝-->
        <td width="50"></td>
        <!--컨텐츠 시작-->
        <td valign="top" align="left"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td colspan="3"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td><img src="../images/sub/<%=pmenu_id %>_title_01.gif" alt="렌터카"  /><img src="../images/sub/<%=pmenu_id %>_title_sub.gif"  height="18" /></td>
                <td align="right" valign="bottom"></td>
              </tr>
            </table></td>
          </tr>
          <tr>
            <td height="5" colspan="3"><img src="../images/sub/sub_line.gif" width="723" height="5" /></td>
          </tr>
          <tr>
            <td height="30" colspan="3"></td>
          </tr>
          <tr>
            <td colspan="3" class="sub_top_line"></td>
          </tr>
          <tr>
            <td></td>
            <td width="721"><table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td height="6"></td>
              </tr>
              <tr>
                <td class="sub_title"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td><img src="../images/sub/05_title_txt_01.gif" alt="렌터카요금" width="126" height="27" /></td>
                    <td align="right"><img src="../images/sub/rent_logo.png" width="254" height="40" /></td>
                  </tr>
                </table></td>
              </tr>
			  <tr height="20px"><td></td></tr>
              <tr>
                <td valign="top" bgcolor="#2b2b2e">
        			<table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr>
                    <td>
                    	<table width="100%" border="0"  cellpadding="0" cellspacing="0">
                    	  <tr height="37">
                    	  	<th width="4"></th>
                    	  	<th align="center" colspan="2"><img src="../images/sub/05_txt_01.gif" alt="차량종류" width="56" height="16" /></th>
                    	  	<th align="center" width="80"><img src="../images/sub/05_txt_02.gif" alt="차량요금" width="54" height="16" /></th>
                    	  	<th align="center" width="200"><img src="../images/sub/05_txt_03.gif" alt="포함사항" width="60" height="16" /></th>
                    	  	<th width="4"></th>
                    	  </tr>

          <% for (int i = 0; i < list.size(); i++) {	%>

          				  <tr>
          				  	<td width="4"></td>
                            <td width="103" style="padding:10px; text-align:left; background-color:#ffffff"><img src="<%= list.get("img_path_00", i) %>" width="103"  /></td>
                            <td align="left" style="padding:10px; text-align:left; background-color:#ffffff">
                            	<span class="thumb_txt4"><%= list.get("car_name",i) %></span><br />
                          - 승객수 : <%= list.get("person_count",i) %><br />
                          - <%= list.get("package",i) %><br />
                                    - <%= list.get("options", i) %><br />
                            </td>
                            <td align="center" style="padding:10px; text-align:center; background-color:#ffffff">
                            	<b>$<%= list.get("price_usd",i) %></b>
                            </td>
                            <td align="center" style="padding:10px; text-align:center; background-color:#ffffff">
                            	<%= list.get("car_include", i) %></td>
                            <td width="4"></td>
                          </tr>
                          <tr height="1">
                            <td></td>
                          	<td colspan="4" style="background-color:#cccccc"></td>
                          	<td></td>
                          </tr>

          <%		}	 %>
                        </table>
					</td>
                  </tr>
                  <tr height="4"></tr>
                </table>


				</td>
              </tr>
			  <tr>
			    <td style="padding-top:30px">
					<%= pageInfo.get("page_content") %>
				</td>
			  </tr>
            </table></td>
            <td></td>
          </tr>
          <tr>
            <td height="60" colspan="3"></td>
          </tr>
        </table></td>
        <!--컨텐츠 끝-->
      </tr>
    </table></td>
  </tr>
  <%@ include file="/home/include/footer.jsp" %>
</table>
</body>
</html>
